package com.ruoyi.common.core.domain.vo;

import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 存储商品分类项 数码产品 手机 小米
 */
@Data
public class ProductCategoryVo implements Serializable {

    private Long id;
    private String name;
    private List<ProductCategoryVo> children;

    /**
     * 图标
     */
    @Excel(name = "图标")
    private String icon;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long sort;

    /**
     * 描述
     */
    @Excel(name = "描述")
    private String description;

    public ProductCategoryVo(Long id, String name) {
        this.id = id;
        this.name = name;
    }

    public ProductCategoryVo() {
    }
}
